<template>
    <div>
        <el-container>
            <el-aside width="auto">
                <CommonAside></CommonAside>
            </el-aside>
            <el-container>
                <el-header>
                    <CommonHeader></CommonHeader>
                </el-header>
                    <CommonTag></CommonTag>
                <el-main>
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>
<script>
import CommonAside from '../components/CommonAside'
import CommonHeader from '../components/CommonHeader'
import CommonTag from '../components/CommonTag'
export default {
    name: 'Main',
    components: { CommonAside,CommonHeader,CommonTag },
    data() {
        return {
            str: '点击登录'
        }
    }
}  
</script>
<style scoped>
.el-header,
.el-footer {
    padding: 0;
    color: #333;
    text-align: center;
    line-height: none;
}

.el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: none;
}

.el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    line-height: none;
}
</style>